#define _CRT_SECURE_NO_WARNINGS
#include"QList.h"

void test1()
{
	Queue q;
	InitQueue(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	printf("front:%d\n", GetQueueFront(&q));
	printf("rare:%d\n", GetQueueRare(&q));
	QueuePop(&q);
	QueueSize(&q);
	QueuePop(&q);
	QueueSize(&q);
	QueuePop(&q);
	QueueSize(&q);
	QueuePop(&q);
	QueueSize(&q);
	QueuePop(&q);
	DestroyQueue(&q);
}
int  main()
{
	test1();
	return 0;
}